package com.ruoyi.project.wenyanwen.generate.domain.mysql;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 生字管理对象 zi
 *
 * @author shixiangwen
 * @date 2020-09-02
 */
public class MysqlZi extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    private byte[] zi;

    /**
     * 字
     */
    @Excel(name = "字")
    private String ziString;

    /**
     * 简体字
     */
    @Excel(name = "简体字")
    private String jtz;

    /**
     * 繁体字
     */
    @Excel(name = "繁体字")
    private String fzi;

    /**
     * 拼音
     */
    @Excel(name = "拼音")
    private String py;

    /**
     * 字频
     */
    @Excel(name = "字频")
    private Long zipin;

    /**
     * 拼音
     */
    @Excel(name = "拼音")
    private String pinyin;

    /**
     * 五笔
     */
    @Excel(name = "五笔")
    private String wubi;

    /**
     * 部首
     */
    @Excel(name = "部首")
    private String bushou;

    /**
     * 结构
     */
    @Excel(name = "结构")
    private Long jiegou;

    /**
     * 总笔划
     */
    @Excel(name = "总笔划")
    private Long zongbihua;

    /**
     * 部外笔划
     */
    @Excel(name = "部外笔划")
    private Long buwaibihua;

    /**
     * 注解
     */
    @Excel(name = "注解")
    private String zhujie;

    /**
     * 拆字笔顺
     */
    @Excel(name = "拆字笔顺")
    private String chaizibishun;

    /**
     * 外研社
     */
    @Excel(name = "外研社")
    private String wys;

    /**
     * 仓颉
     */
    @Excel(name = "仓颉")
    private String cangjie;

    /**
     * 郑码
     */
    @Excel(name = "郑码")
    private String zhengma;

    /**
     * 四角
     */
    @Excel(name = "四角")
    private String sijiao;

    /**
     * 详解
     */
    private String xiangjie;

    /**
     * 古汉语
     */
    private String guhanyu;

    /**
     * xiangjieEncode
     */
    private String xiangjieEncode;

    /**
     * guhanyuEncode
     */
    private String guhanyuEncode;

    /**
     * xiangjieJson
     */
    private String xiangjieJson;

    /**
     * guhanyuJson
     */
    private String guhanyuJson;

    /**
     * 国语词典
     */
    private String gycd;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public byte[] getZi() {
        return zi;
    }

    public void setZi(byte[] zi) {
        this.zi = zi;
    }

    public String getZiString() {
        return new String(zi);
    }

    public void setZiString(String ziString) {
        this.ziString = ziString;
    }

    public void setJtz(String jtz) {
        this.jtz = jtz;
    }

    public String getJtz() {
        return jtz;
    }

    public void setFzi(String fzi) {
        this.fzi = fzi;
    }

    public String getFzi() {
        return fzi;
    }

    public void setPy(String py) {
        this.py = py;
    }

    public String getPy() {
        return py;
    }

    public void setZipin(Long zipin) {
        this.zipin = zipin;
    }

    public Long getZipin() {
        return zipin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setWubi(String wubi) {
        this.wubi = wubi;
    }

    public String getWubi() {
        return wubi;
    }

    public void setBushou(String bushou) {
        this.bushou = bushou;
    }

    public String getBushou() {
        return bushou;
    }

    public void setJiegou(Long jiegou) {
        this.jiegou = jiegou;
    }

    public Long getJiegou() {
        return jiegou;
    }

    public void setZongbihua(Long zongbihua) {
        this.zongbihua = zongbihua;
    }

    public Long getZongbihua() {
        return zongbihua;
    }

    public void setBuwaibihua(Long buwaibihua) {
        this.buwaibihua = buwaibihua;
    }

    public Long getBuwaibihua() {
        return buwaibihua;
    }

    public void setZhujie(String zhujie) {
        this.zhujie = zhujie;
    }

    public String getZhujie() {
        return zhujie;
    }

    public void setChaizibishun(String chaizibishun) {
        this.chaizibishun = chaizibishun;
    }

    public String getChaizibishun() {
        return chaizibishun;
    }

    public void setWys(String wys) {
        this.wys = wys;
    }

    public String getWys() {
        return wys;
    }

    public void setCangjie(String cangjie) {
        this.cangjie = cangjie;
    }

    public String getCangjie() {
        return cangjie;
    }

    public void setZhengma(String zhengma) {
        this.zhengma = zhengma;
    }

    public String getZhengma() {
        return zhengma;
    }

    public void setSijiao(String sijiao) {
        this.sijiao = sijiao;
    }

    public String getSijiao() {
        return sijiao;
    }

    public void setXiangjie(String xiangjie) {
        this.xiangjie = xiangjie;
    }

    public String getXiangjie() {
        return xiangjie;
    }

    public void setGuhanyu(String guhanyu) {
        this.guhanyu = guhanyu;
    }

    public String getGuhanyu() {
        return guhanyu;
    }

    public void setXiangjieEncode(String xiangjieEncode) {
        this.xiangjieEncode = xiangjieEncode;
    }

    public String getXiangjieEncode() {
        return xiangjieEncode;
    }

    public void setGuhanyuEncode(String guhanyuEncode) {
        this.guhanyuEncode = guhanyuEncode;
    }

    public String getGuhanyuEncode() {
        return guhanyuEncode;
    }

    public void setXiangjieJson(String xiangjieJson) {
        this.xiangjieJson = xiangjieJson;
    }

    public String getXiangjieJson() {
        return xiangjieJson;
    }

    public void setGuhanyuJson(String guhanyuJson) {
        this.guhanyuJson = guhanyuJson;
    }

    public String getGuhanyuJson() {
        return guhanyuJson;
    }

    public String getGycd() {
        return gycd;
    }

    public void setGycd(String gycd) {
        this.gycd = gycd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("zi", getZi())
                .append("jtz", getJtz())
                .append("fzi", getFzi())
                .append("py", getPy())
                .append("zipin", getZipin())
                .append("pinyin", getPinyin())
                .append("wubi", getWubi())
                .append("bushou", getBushou())
                .append("jiegou", getJiegou())
                .append("zongbihua", getZongbihua())
                .append("buwaibihua", getBuwaibihua())
                .append("zhujie", getZhujie())
                .append("chaizibishun", getChaizibishun())
                .append("wys", getWys())
                .append("cangjie", getCangjie())
                .append("zhengma", getZhengma())
                .append("sijiao", getSijiao())
                .append("xiangjie", getXiangjie())
                .append("guhanyu", getGuhanyu())
                .append("xiangjieEncode", getXiangjieEncode())
                .append("guhanyuEncode", getGuhanyuEncode())
                .append("xiangjieJson", getXiangjieJson())
                .append("guhanyuJson", getGuhanyuJson())
                .toString();
    }
}
